import 'package:flutter/material.dart';
import '../myIcon.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("Flutter ICON"),
          backgroundColor: Colors.yellow,
        ),
        body: MyHomePage(),
      ),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        // SizedBox(height: 20),
        // Icon(Icons.home, size: 40, color: Colors.red),
        // SizedBox(height: 20),
        // Icon(Icons.settings),
        // SizedBox(height: 20),
        // Icon(Icons.search),
        // SizedBox(height: 20),
        // Icon(Icons.personal_injury_outlined),
        // SizedBox(height: 20),
        // Icon(Icons.category, size: 60, color: Colors.yellow),
        SizedBox(height: 20),
        Icon(Icons.shopping_cart, size: 60, color: Colors.green),
        SizedBox(height: 20),
        Icon(Icons.wechat, size: 60, color: Colors.blue),
        SizedBox(height: 20),
        Icon(Myicon.book, size: 40, color: Colors.purple),
        SizedBox(height: 20),
        Icon(Myicon.weixin, size: 40, color: Colors.pink),
        SizedBox(height: 20),
        Icon(Myicon.cart, size: 40, color: Colors.orange),
        SizedBox(height: 20),
        Icon(Myicon.address, size: 40, color: Colors.orange),
        SizedBox(height: 20),
        Icon(Myicon.category, size: 40, color: Colors.orange),
        SizedBox(height: 20),
        Icon(Myicon.yonghu, size: 40, color: Colors.orange),
      ],
    );
  }
}
